import fetchData from "./http"

//获取轮播图
const swiperData=()=>{
	return fetchData({url:"/home/swiperdata"})
}
//首页分类
const catitemsData=()=>{
	return fetchData({url:"/home/catitems"})
}
//楼层分类
const floorsData=()=>{
	return fetchData({url:"/home/floorsdata"})
}
//推荐商品
const recommendData=()=>{
	return fetchData({url:"/home/recommend"})
}

export default{
	swiperData,catitemsData,floorsData,recommendData
}